package com.jiyinit.web.core.business.service;

import com.jiyinit.web.core.business.dao.TabCoreUserRoleDao;
import com.jiyinit.web.core.business.vo.UserRoleVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 用户角色关系service
 * @author zhaolaiwei
 * @version 1.0
 * @date 2017/4/11 17:59
 * @since 1.0
 */
@Service("core.userRoleServiceImpl")
public class UserRoleServiceImpl {

    @Resource(name = "core.tabCoreUserRoleDao")
    private TabCoreUserRoleDao tabCoreUserRoleDao;

    public UserRoleVo selectUserRoleVoByUserId(Integer userId){
        return tabCoreUserRoleDao.selectUserRoleVoByUserId(userId);
    }
}
